package com.rbw.controller.req;

import javax.validation.constraints.Pattern;

import org.hibernate.validator.constraints.NotEmpty;

/**
 * 注册参数
 * 
 *
 */
public class EditUserParam {

	@Pattern(regexp = "^1|2|3$", message = "请选择正确的修改项")
	private String type;// 1:昵称,2:手机号,3安全邮箱
	@NotEmpty(message = "修改值不能为空")
	private String value;// 值
	private String vcode;// 验证码
	
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public String getValue() {
		return value;
	}
	public void setValue(String value) {
		this.value = value;
	}
	public String getVcode() {
		return vcode;
	}
	public void setVcode(String vcode) {
		this.vcode = vcode;
	}
	
}
